﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace uni.ubi.open.sdk.Model
{
    public class authdevice_ubi
    {
        /// <summary>
        ///  设备序列号
        /// </summary>
        public string deviceNo { get; set; }
        /// <summary>
        /// 宇泛平台人员Id
        /// </summary>
        public string admitGuids { get; set; }
        /// <summary>
        /// 权限字段
        /// </summary>
        public permission permission { get; set; }
    }

    public class permission
    {
        /// <summary>
        /// 刷脸权限 1：无权限；2：有权限
        /// </summary>
        public int facePermission { get; set; }
        /// <summary>
        /// 刷卡权限 1：无权限；2：有权限
        /// </summary>
        public int idCardPermission { get; set; }

        /// <summary>
        /// 人证比对权限 1：无权限；2：有权限
        /// </summary>
        public int idCardFacePermission { get; set; }
        /// <summary>
        /// 密码权限 1：无权限；2：有权限
        /// </summary>
        public int passwordPermission { get; set; }
        /// <summary>
        /// 人卡合一权限 1：无权限；2：有权限
        /// </summary>
        public int faceAndCardPermission { get; set; }
        /// <summary>
        /// 指纹权限 1：无权限；2：有权限
        /// </summary>
        public int fingerPermission { get; set; }
    }
}
